﻿using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;
using System.Data.Entity;

namespace JustTest.Models
{
    // You can add profile data for the user by adding more properties to your User class, please visit http://go.microsoft.com/fwlink/?LinkID=317594 to learn more.
    

    public class JustTestDb : IdentityDbContext<ApplicationUser, UserClaim, UserSecret, UserLogin, Role, UserRole, Token, UserManagement>
        //IdentityDbContextWithCustomUser<ApplicationUser>
    {
        public JustTestDb()
            : base("JustTestConnectionString")
        {
        }

        public DbSet<TestResult> TestResults { get; set; }

        //public DbSet<ApplicationUser> AppUsers { get; set; }
        public DbSet<Test> Tests { get; set; }
        public DbSet<Question> Questions { get; set; }
        public DbSet<Answer> Answers { get; set; }
        public DbSet<Category> Categoriess { get; set; }
    }
}